home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_39.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  72KB  |  816x1056  |  8-bit (256 colors)
Labels: bulletin board | earth | reckoner | sky
OCR: Wed. Aug *VAF 28 START 1998NCI IJDE IBedilBrSGuide To Macintosh Assembly Language Programming 3Rage WINDOW EQU *WINDOW HANDLE EX4 RS DSF *SPACE FOR 1LONG WIND INITIALSE THE "EXAMPLE 4" CURSOR END OF EXAMPLE4** Note OPEN A WINDOW mber IS printed. we call a subroutine that waits for the user to press key actually returns the key pressed in D0 as the lower byte that is bits 11 Armed with this knowledge its time to find out about comparing data and controlling program flow me of the comparison. ADD 10+20+30 Here S a tougn now can we modify example DS that it quits only when the .O, key IS precso Lon the bvhoard? Anv ideas have a go a writing the program, but don' worry you 1,uop hav RINT THE RESUL- KEY returns the key pressed in the lower byte of WAIT FOR KEY interlude. PRESS LOSE THE WINDOW T ...